package fr.babos.test.mvc 
{
	import fr.babos.core.context.DependencesManager;
	/**
	 * ...
	 * @author ZoulouX
	 */
	public class BabosMVCTest
	{
		/**
		 * Le constructeur
		 */
		public function BabosMVCTest () 
		{
			
		}
		
		/**
		 * Test des dépendences
		 */
		public function testDependences ():void
		{
			var dependencesManager:DependencesManager();
			
			/*
			dependencesManager.addDependences(<root>
				<models>
					<model id="model1" class="{fr.babos.test.mvc.BabosMVCModel1}" singleton="false" />
				</models>
				<controllers>
					<controller id="controller1" class="{fr.babos.test.mvc.BabosMVCController1}" />
				</controllers>
				<views>
					<view id="view1" class="{fr.babos.test.mvc.BabosMVCView1}" />
					<view id="view2" class="{fr.babos.test.mvc.BabosMVCView2}" />
				</views>
			</root>);
			
			
			
			var dependences:Object = {
				models: [
					
				],
				controllers: [
					
				],
				views: [
					{
						id: "view1",
						class: fr.babos.test.mvc.BabosMyView1
					}
				]
			}*/
			
			dependences.classes = {
				
			}
			dependences.addClass("BabosMyModel1", BabosMyModel1);
			dependences.addClass("Model1", BabosMyModel1);
			dependences.addClass("Model1", BabosMyModel1);
		}
		
		/**
		 * Test d'un contexte
		 */
		public function testContext ():void
		{
			
		}
	}
}